package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 药品（新）对象 drug
 *
 * @author drx
 * @date 2024-03-11
 */
@ApiModel("药品（新）")
public class Drug extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Excel(name = "ID")
    @ApiModelProperty("主键")
    private Long id;

    /**
     * 名称
     */
    @Excel(name = "通用名称")
    @ApiModelProperty("名称")
    private String name;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    @ApiModelProperty("商品名称")
    private String commonName;

    /**
     * 别名
     */
    @ApiModelProperty("别名")
    private String alias;

    /**
     * 主图
     */
    @ApiModelProperty("主图")
    private String icon;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 是否启用  0 不启用  1、启用
     */
    @ApiModelProperty("是否启用  0 不启用  1、启用")
    private String state;

    /**
     * 是否启用  0 不启用  1、启用
     */
    @ApiModelProperty("是否推荐  0 不推荐  1、推荐")
    private String recommend;

    /**
     * 厂家id
     */
    @ApiModelProperty("厂家id")
    private String manuId;

    @Excel(name = "厂家名称")
    @ApiModelProperty("厂家名称")
    private String manuName;

    /**
     * 权重
     */
    @Excel(name = "权重")
    @ApiModelProperty("权重")
    private Long salesvolume;

    /**
     * 有效期
     */
    @ApiModelProperty("有效期")
    private String periodOfValidity;

    /**
     * 准批文号
     */
    @Excel(name = "准批文号")
    @ApiModelProperty("准批文号")
    private String quasiApprovalNo;

    /**
     * 剂型id
     */
    @ApiModelProperty("剂型id")
    private String dosage;

    /**
     * 是否处方药  0 否  1、是
     */
    @ApiModelProperty("是否处方药  0 否  1、是")
    private Long isPrescription;

    /**
     * 储存条件
     */
    @Excel(name = "储存条件")
    @ApiModelProperty("储存条件")
    private String storagecondition;

    /**
     * 注意事项
     */
    @Excel(name = "注意事项")
    @ApiModelProperty("注意事项")
    private String announcements;

    /**
     * 价格与购买
     */
    @Excel(name = "价格与购买")
    @ApiModelProperty("价格与购买")
    private String adaptationdisease;

    /**
     * 商品相册
     */
    @Excel(name = "商品相册")
    @ApiModelProperty("商品相册")
    private String photoalbum;

    /**
     * 商品详情
     */
    @Excel(name = "商品详情")
    @ApiModelProperty("商品详情")
    private String detail;

    /**
     * 商品视频
     */
    @Excel(name = "商品视频")
    @ApiModelProperty("商品视频")
    private String videos;

    /**
     * 成分
     */
    @Excel(name = "成分")
    @ApiModelProperty("成分")
    private String ingredient;

    /**
     * 性状
     */
    @Excel(name = "性状")
    @ApiModelProperty("性状")
    private String xingzhuang;

    /**
     * 用法用量
     */
    @Excel(name = "用法用量")
    @ApiModelProperty("用法用量")
    private String usageanddosage;

    /**
     * 副作用
     */
    @Excel(name = "副作用")
    @ApiModelProperty("副作用")
    private String untoward;

    /**
     * 禁忌
     */
    @Excel(name = "禁忌")
    @ApiModelProperty("禁忌")
    private String taboos;


    /**
     * 适用人群
     */
    @Excel(name = "适用人群")
    @ApiModelProperty("适用人群")
    private String suitableforthecroud;

    /**
     * 药物相互作用
     */
    @Excel(name = "药物相互作用")
    @ApiModelProperty("药物相互作用")
    private String mutual;

    /**
     * 浏览量
     */
    @Excel(name = "浏览量")
    @ApiModelProperty("浏览量")
    private Long hits;

    /**
     * 各版本药物价格
     */
    @Excel(name = "各版本药物价格")
    @ApiModelProperty("各版本药物价格")
    private String editionPrice;

    /**
     * 中国是否上市  0 否  1、是
     */
    @Excel(name = "中国是否上市  0 否  1、是")
    @ApiModelProperty("中国是否上市  0 否  1、是")
    private Integer chinaListedState;

    /**
     * 是否进入医保  0 否  1、是
     */
    @Excel(name = "是否进入医保  0 否  1、是")
    @ApiModelProperty("是否进入医保  0 否  1、是")
    private Integer enterMedicalState;

    /**
     * 是否有仿制药  0 否  1、是
     */
    @Excel(name = "是否有仿制药  0 否  1、是")
    @ApiModelProperty("是否有仿制药  0 否  1、是")
    private Integer genericState;

    /**
     * 国内是否能买到
     */
    @Excel(name = "国内是否能买到")
    @ApiModelProperty("国内是否能买到")
    private Integer canChinaState;

    /**
     * 英文名称
     */
    @Excel(name = "英文名称")
    @ApiModelProperty("英文名称")
    private String englishName;


    /**
     * 适应靶点
     */
    @Excel(name = "适应靶点")
    @ApiModelProperty("适应靶点")
    private String adaptiveTarget;

    /**
     * 包装
     */
    @Excel(name = "包装")
    @ApiModelProperty("包装")
    private String packaging;

    /**
     * 药物过量
     */
    @Excel(name = "药物过量")
    @ApiModelProperty("药物过量")
    private String overdose;

    /**
     * 药代动力学
     */
    @Excel(name = "药代动力学")
    @ApiModelProperty("药代动力学")
    private String pharmacokinetics;

    /**
     * 药物相互作用1
     */
    @Excel(name = "药物相互作用1")
    @ApiModelProperty("药物相互作用1")
    private String mutual1;

    /**
     * 用法用量1
     */
    @Excel(name = "用法用量1")
    @ApiModelProperty("用法用量1")
    private String usageanddosage1;

    /**
     * 副作用1
     */
    @Excel(name = "副作用1")
    @ApiModelProperty("副作用1")
    private String untoward1;

    /**
     * 注意事项1
     */
    @Excel(name = "注意事项1")
    @ApiModelProperty("注意事项1")
    private String announcements1;

    /**
     * 特殊人群用药1
     */
    @Excel(name = "特殊人群用药1")
    @ApiModelProperty("特殊人群用药1")
    private String suitableforthecroud1;

    /**
     * 禁忌症1
     */
    @Excel(name = "禁忌症1")
    @ApiModelProperty("禁忌症1")
    private String taboos1;

    /**
     * 适应症1
     */
    @Excel(name = "适应症1")
    @ApiModelProperty("适应症1")
    private String adaptationdisease1;

    /**
     * 主要成分
     */
    @Excel(name = "主要成分")
    @ApiModelProperty("主要成分")
    private String ingredient1;

    /**
     * 适应人群
     */
    @Excel(name = "适应人群")
    @ApiModelProperty("适应人群")
    private String intendedPopulation;

    /**
     * 治疗效果
     */
    @Excel(name = "治疗效果")
    @ApiModelProperty("治疗效果")
    private String therapeuticEffect;

    /**
     * 标题
     */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String webtitle;

    /**
     * 内容
     */
    @Excel(name = "内容")
    @ApiModelProperty("内容")
    private String description;

    /**
     * 关键字
     */
    @Excel(name = "关键字")
    @ApiModelProperty("关键字")
    private String keywords;

    /**
     * tdk说明
     */
    @Excel(name = "tdk说明")
    @ApiModelProperty("tdk说明")
    private String tdkTitle;

    /**
     * tdk富文本
     */
    @Excel(name = "tdk富文本")
    @ApiModelProperty("tdk富文本")
    private String tdkDescribe;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    @ApiModelProperty("创建人名称")
    private String createName;

    /**
     * 更新人名称
     */
    @Excel(name = "更新人名称")
    @ApiModelProperty("更新人名称")
    private String updateName;

    /**
     * 是否删除（0否；1是）
     */
    @ApiModelProperty("是否删除（0否；1是）")
    private String delFlag;

    /**
     * 药品tdk
     */

    @ApiModelProperty("是否删除（0否；1是）")
    private DrugTdk drugTdk;

    @ApiModelProperty("温馨提示")
    private String warmPrompt;

    @ApiModelProperty("参考资料")
    private String referenceMaterial;

    @ApiModelProperty("信息来源")
    private String informationSources;

    /*
     * pc端首页查询药品
     * 通用名称 or 英文名称 or 商品名称 or 别名
     * */
    private String arbitrarilyName;

    /**
     * 药品疾病集合
     */
    private List<DrugDisease> diseaseList;

    private Date startTime;

    private Date endTime;

    private String pid;

    private String diseaseId;

    private List<News> newsList;


    public String getWarmPrompt() {
        return warmPrompt;
    }

    public void setWarmPrompt(String warmPrompt) {
        this.warmPrompt = warmPrompt;
    }

    public String getReferenceMaterial() {
        return referenceMaterial;
    }

    public void setReferenceMaterial(String referenceMaterial) {
        this.referenceMaterial = referenceMaterial;
    }

    public String getInformationSources() {
        return informationSources;
    }

    public void setInformationSources(String informationSources) {
        this.informationSources = informationSources;
    }

    public String getArbitrarilyName() {
        return arbitrarilyName;
    }

    public void setArbitrarilyName(String arbitrarilyName) {
        this.arbitrarilyName = arbitrarilyName;
    }

    public List<News> getNewsList() {
        return newsList;
    }

    public void setNewsList(List<News> newsList) {
        this.newsList = newsList;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getDiseaseId() {
        return diseaseId;
    }

    public void setDiseaseId(String diseaseId) {
        this.diseaseId = diseaseId;
    }

    public List<DrugDisease> getDiseaseList() {
        return diseaseList;
    }

    public void setDiseaseList(List<DrugDisease> diseaseList) {
        this.diseaseList = diseaseList;
    }

    public String getManuName() {
        return manuName;
    }

    public void setManuName(String manuName) {
        this.manuName = manuName;
    }

    public DrugTdk getDrugTdk() {
        return drugTdk;
    }

    public void setDrugTdk(DrugTdk drugTdk) {
        this.drugTdk = drugTdk;
    }

    public Long getSalesvolume() {
        return salesvolume;
    }

    public void setSalesvolume(Long salesvolume) {
        this.salesvolume = salesvolume;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getAlias() {
        return alias;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIcon() {
        return icon;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setManuId(String manuId) {
        this.manuId = manuId;
    }

    public String getManuId() {
        return manuId;
    }

    public void setPeriodOfValidity(String periodOfValidity) {
        this.periodOfValidity = periodOfValidity;
    }

    public String getPeriodOfValidity() {
        return periodOfValidity;
    }

    public void setQuasiApprovalNo(String quasiApprovalNo) {
        this.quasiApprovalNo = quasiApprovalNo;
    }

    public String getQuasiApprovalNo() {
        return quasiApprovalNo;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    public String getDosage() {
        return dosage;
    }

    public void setIsPrescription(Long isPrescription) {
        this.isPrescription = isPrescription;
    }

    public Long getIsPrescription() {
        return isPrescription;
    }

    public void setStoragecondition(String storagecondition) {
        this.storagecondition = storagecondition;
    }

    public String getStoragecondition() {
        return storagecondition;
    }

    public void setAnnouncements(String announcements) {
        this.announcements = announcements;
    }

    public String getAnnouncements() {
        return announcements;
    }

    public void setAdaptationdisease(String adaptationdisease) {
        this.adaptationdisease = adaptationdisease;
    }

    public String getAdaptationdisease() {
        return adaptationdisease;
    }

    public void setPhotoalbum(String photoalbum) {
        this.photoalbum = photoalbum;
    }

    public String getPhotoalbum() {
        return photoalbum;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getDetail() {
        return detail;
    }

    public void setVideos(String videos) {
        this.videos = videos;
    }

    public String getVideos() {
        return videos;
    }

    public void setIngredient(String ingredient) {
        this.ingredient = ingredient;
    }

    public String getIngredient() {
        return ingredient;
    }

    public String getXingzhuang() {
        return xingzhuang;
    }

    public void setXingzhuang(String xingzhuang) {
        this.xingzhuang = xingzhuang;
    }

    public void setUsageanddosage(String usageanddosage) {
        this.usageanddosage = usageanddosage;
    }

    public String getUsageanddosage() {
        return usageanddosage;
    }

    public void setUntoward(String untoward) {
        this.untoward = untoward;
    }

    public String getUntoward() {
        return untoward;
    }

    public void setTaboos(String taboos) {
        this.taboos = taboos;
    }

    public String getTaboos() {
        return taboos;
    }

    public void setSuitableforthecroud(String suitableforthecroud) {
        this.suitableforthecroud = suitableforthecroud;
    }

    public String getSuitableforthecroud() {
        return suitableforthecroud;
    }

    public void setMutual(String mutual) {
        this.mutual = mutual;
    }

    public String getMutual() {
        return mutual;
    }

    public void setHits(Long hits) {
        this.hits = hits;
    }

    public Long getHits() {
        return hits;
    }

    public void setEditionPrice(String editionPrice) {
        this.editionPrice = editionPrice;
    }

    public String getEditionPrice() {
        return editionPrice;
    }

    public Integer getChinaListedState() {
        return chinaListedState;
    }

    public void setChinaListedState(Integer chinaListedState) {
        this.chinaListedState = chinaListedState;
    }

    public void setEnterMedicalState(Integer enterMedicalState) {
        this.enterMedicalState = enterMedicalState;
    }

    public Integer getEnterMedicalState() {
        return enterMedicalState;
    }

    public void setGenericState(Integer genericState) {
        this.genericState = genericState;
    }

    public Integer getGenericState() {
        return genericState;
    }

    public void setCanChinaState(Integer canChinaState) {
        this.canChinaState = canChinaState;
    }

    public Integer getCanChinaState() {
        return canChinaState;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public void setCommonName(String commonName) {
        this.commonName = commonName;
    }

    public String getCommonName() {
        return commonName;
    }

    public String getAdaptiveTarget() {
        return adaptiveTarget;
    }

    public void setAdaptiveTarget(String adaptiveTarget) {
        this.adaptiveTarget = adaptiveTarget;
    }

    public void setPackaging(String packaging) {
        this.packaging = packaging;
    }

    public String getPackaging() {
        return packaging;
    }

    public void setOverdose(String overdose) {
        this.overdose = overdose;
    }

    public String getOverdose() {
        return overdose;
    }

    public void setPharmacokinetics(String pharmacokinetics) {
        this.pharmacokinetics = pharmacokinetics;
    }

    public String getPharmacokinetics() {
        return pharmacokinetics;
    }

    public void setMutual1(String mutual1) {
        this.mutual1 = mutual1;
    }

    public String getMutual1() {
        return mutual1;
    }

    public void setUsageanddosage1(String usageanddosage1) {
        this.usageanddosage1 = usageanddosage1;
    }

    public String getUsageanddosage1() {
        return usageanddosage1;
    }

    public void setUntoward1(String untoward1) {
        this.untoward1 = untoward1;
    }

    public String getUntoward1() {
        return untoward1;
    }

    public void setAnnouncements1(String announcements1) {
        this.announcements1 = announcements1;
    }

    public String getAnnouncements1() {
        return announcements1;
    }

    public void setSuitableforthecroud1(String suitableforthecroud1) {
        this.suitableforthecroud1 = suitableforthecroud1;
    }

    public String getSuitableforthecroud1() {
        return suitableforthecroud1;
    }

    public void setTaboos1(String taboos1) {
        this.taboos1 = taboos1;
    }

    public String getTaboos1() {
        return taboos1;
    }

    public void setAdaptationdisease1(String adaptationdisease1) {
        this.adaptationdisease1 = adaptationdisease1;
    }

    public String getAdaptationdisease1() {
        return adaptationdisease1;
    }

    public void setIngredient1(String ingredient1) {
        this.ingredient1 = ingredient1;
    }

    public String getIngredient1() {
        return ingredient1;
    }

    public void setIntendedPopulation(String intendedPopulation) {
        this.intendedPopulation = intendedPopulation;
    }

    public String getIntendedPopulation() {
        return intendedPopulation;
    }

    public void setTherapeuticEffect(String therapeuticEffect) {
        this.therapeuticEffect = therapeuticEffect;
    }

    public String getTherapeuticEffect() {
        return therapeuticEffect;
    }

    public void setWebtitle(String webtitle) {
        this.webtitle = webtitle;
    }

    public String getWebtitle() {
        return webtitle;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setTdkTitle(String tdkTitle) {
        this.tdkTitle = tdkTitle;
    }

    public String getTdkTitle() {
        return tdkTitle;
    }

    public void setTdkDescribe(String tdkDescribe) {
        this.tdkDescribe = tdkDescribe;
    }

    public String getTdkDescribe() {
        return tdkDescribe;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCreateName() {
        return createName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }


    public String getRecommend() {
        return recommend;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("alias", getAlias())
                .append("icon", getIcon())
                .append("remark", getRemark())
                .append("state", getState())
                .append("recommend", getRecommend())
                .append("manuId", getManuId())
                .append("periodOfValidity", getPeriodOfValidity())
                .append("quasiApprovalNo", getQuasiApprovalNo())
                .append("dosage", getDosage())
                .append("isPrescription", getIsPrescription())
                .append("storagecondition", getStoragecondition())
                .append("announcements", getAnnouncements())
                .append("adaptationdisease", getAdaptationdisease())
                .append("photoalbum", getPhotoalbum())
                .append("detail", getDetail())
                .append("videos", getVideos())
                .append("ingredient", getIngredient())
                .append("xingzhuang", getXingzhuang())
                .append("usageanddosage", getUsageanddosage())
                .append("untoward", getUntoward())
                .append("taboos", getTaboos())
                .append("suitableforthecroud", getSuitableforthecroud())
                .append("mutual", getMutual())
                .append("hits", getHits())
                .append("editionPrice", getEditionPrice())
                .append("ChinaListedState", getChinaListedState())
                .append("enterMedicalState", getEnterMedicalState())
                .append("genericState", getGenericState())
                .append("canChinaState", getCanChinaState())
                .append("EnglishName", getEnglishName())
                .append("commonName", getCommonName())
                .append("adaptiveTarget", getAdaptiveTarget())
                .append("packaging", getPackaging())
                .append("overdose", getOverdose())
                .append("pharmacokinetics", getPharmacokinetics())
                .append("mutual1", getMutual1())
                .append("usageanddosage1", getUsageanddosage1())
                .append("untoward1", getUntoward1())
                .append("announcements1", getAnnouncements1())
                .append("suitableforthecroud1", getSuitableforthecroud1())
                .append("taboos1", getTaboos1())
                .append("adaptationdisease1", getAdaptationdisease1())
                .append("ingredient1", getIngredient1())
                .append("intendedPopulation", getIntendedPopulation())
                .append("therapeuticEffect", getTherapeuticEffect())
                .append("webtitle", getWebtitle())
                .append("description", getDescription())
                .append("keywords", getKeywords())
                .append("tdkTitle", getTdkTitle())
                .append("tdkDescribe", getTdkDescribe())
                .append("createBy", getCreateBy())
                .append("createName", getCreateName())
                .append("updateBy", getUpdateBy())
                .append("updateName", getUpdateName())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
